/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.manage.form;

import info.peigen.hotpot.business.customer.facade.enums.operator.CustomerOperatorStatus;
import info.peigen.hotpot.common.service.base.manage.ManageFormBase;
import jakarta.validation.constraints.Size;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(CustomerOperatorManageSearchForm)</b>
 * 管理后台 查询"客户操作员"表单
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2023-09-08
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class CustomerOperatorManageSearchForm extends ManageFormBase {
    /** 操作员Id;默认只有一个Master操作员的时候,该Id与customerId一样 */
    @Size(max = 30)
    String                 operatorId;
    /** 客户Id */
    @Size(max = 30)
    String                 customerId;
    /** 登录名;可用是手机号/邮箱 */
    @Size(max = 200)
    String                 loginName;
    /** 状态;Init:初始化,Enable:可用,Unable:不可用 */
    @Size(max = 20)
    CustomerOperatorStatus status;
    /** 是否删除标记;Y/N */
    @Size(max = 20)
    String                 deleteFlag;
    /** 合作伙伴Id */
    @Size(max = 30)
    String                 partnerId;
}